<d-carousel [height]="height" [(activeIndex)]="activeIndex" (activeIndexChange)="getIndex($event)">
  <d-carousel-item *ngFor="let i of array">{{ 'page ' + i }}</d-carousel-item>
</d-carousel>
